//Random.cpp
//Function Specification File for generating random numbers.

#include "Random.h"
#include <cstdlib>
#include <ctime>

Random::Random()
{
	srandCounter = 0;
	setRandSeed();
}

Random::~Random()
{

}

void Random::setRandSeed()
{
	srand(time(0));

	srandCounter += 1;
}

int Random::shapeCnt() const
{
	return (rand() % 5) + 1;
}

float Random::shapeSize() const
{
	return (rand() % 20) + 1;
}

float Random::shapePos() const
{
	return (rand() % 200) + 1;
}

int Random::shapeType() const
{
	return (rand() % 11) + 1;
}
